#ifndef __LOG_H__
#define __LOG_H__

#define UNITS   10


typedef struct {
    int mark;  // m : mark
    int wrong;  // w : wrong
    int right;  // r : right
} Log;


typedef struct {
    char *enbuf;
    char *chbuf;
    char *pbuf;
} Content;

extern int bookID;

extern Content **Cdata[UNITS];

extern Log **Ldata[UNITS];

extern int word_nums[UNITS];



void init();



void load();

void save();

#endif